package com.woniu.dao;

import com.woniu.pojo.PreOrder;
import org.apache.ibatis.annotations.Select;

public interface PreOrderMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(PreOrder record);

    int insertSelective(PreOrder record);

    PreOrder selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(PreOrder record);

    int updateByPrimaryKey(PreOrder record);

    void createorder(PreOrder preOrder);
    @Select("select * from pre_order where  num=#{num}")
    PreOrder findpay(String num);
}